package com.yj.web.WeChat.service;

import com.yj.web.WeChat.Bean.WxUser;
import com.yj.web.WeChat.Message.WxXmlMessage;
import com.yj.web.WeChat.Message.WxXmlOutMessage;
import org.apache.http.NameValuePair;
import org.apache.http.client.ClientProtocolException;

import java.io.IOException;
import java.util.List;

/**
 * Created by yanlinyang on 2017/9/10.
 */
public interface WxCoreService {
    void requestGet(String urlWithParams) throws IOException;
    void requestPost(String url, List<NameValuePair> params) throws ClientProtocolException, IOException;
    void refreshRouter();
    WxXmlOutMessage route(WxXmlMessage inMessage);
    WxUser getUserInfo(String openid, String lang);

    //added by yyl
    public void checkOpenId(WxXmlMessage wxMessage);
}
